From 92bf555bee09395afa1d9c5ba92bb0e97df4612b Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Fri, 16 Feb 2018 14:05:07 +0000 Subject: [PATCH] add-mips64-support Gbp-Pq: Name 0002-add-mips64-support.patch --- lib/ts/ink_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ts/ink_queue.h b/lib/ts/ink_queue.h index 2ba29799..b9fc1e84 100644 --- a/lib/ts/ink_queue.h +++ b/lib/ts/ink_queue.h @@ -135,7 +135,7 @@ typedef union { #define SET_FREELIST_POINTER_VERSION(_x, _p, _v) \ (_x).s.pointer = _p; \ (_x).s.version = _v -#elif defined(__x86_64__) || defined(__ia64__) || defined(__powerpc64__) || defined(__aarch64__) +#elif defined(__x86_64__) || defined(__ia64__) || defined(__powerpc64__) || defined(__aarch64__) || defined(__mips64) #define FREELIST_POINTER(_x) \ ((void *)(((((intptr_t)(_x).data) << 16) >> 16) | (((~((((intptr_t)(_x).data) << 16 >> 63) - 1)) >> 48) << 48))) // sign extend #define FREELIST_VERSION(_x) (((intptr_t)(_x).data) >> 48) -- 2.30.2